package util.util.annotation;

import util.util.DevDateUtil;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author liW
 * @version 1.0
 * @date 2019-10-30 11:15
 */
@Retention(RUNTIME)
@Target(ElementType.FIELD)
public @interface FormatType {
    String dateFormat() default DevDateUtil.DATE_YMD_;

    int length() default 15;

    int scale() default 5;
}
